package com.shopping.mall.core.module.goodData.mapper;

import com.shopping.mall.core.module.goodData.entity.GoodData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shopping.mall.core.module.goodData.entity.GoodDataQueryVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * GoodDataMapper 接口
 * </p>
 *
 * @author zzy
 * @since 2021-09-02
 */
@Mapper
public interface GoodDataMapper extends BaseMapper<GoodData> {

    Integer getVisitAll(GoodDataQueryVO goodDataQueryVO);

    Integer getTotal(GoodDataQueryVO goodDataQueryVO);

    List<GoodData> getPage(Integer current, Integer size, GoodDataQueryVO goodDataQueryVO);
}
